package com.stn.zjx.givingtreasure.table;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by 朱俊鑫 on 2018-3
 */
@Entity
public class WalletUser {
    @Id(autoincrement = true)
    private Long id;
    //钱包名称
    private String name="";
    //假密码
    private String password="";
    //交易密码

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTradepassword() {
        return tradepassword;
    }

    public void setTradepassword(String tradepassword) {
        this.tradepassword = tradepassword;
    }

    public String getMnemonic() {
        return mnemonic;
    }

    public void setMnemonic(String mnemonic) {
        this.mnemonic = mnemonic;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTipmessage() {
        return tipmessage;
    }

    public void setTipmessage(String tipmessage) {
        this.tipmessage = tipmessage;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPush_clientid() {
        return push_clientid;
    }

    public void setPush_clientid(String push_clientid) {
        this.push_clientid = push_clientid;
    }

    public String getPush_token() {
        return push_token;
    }

    public void setPush_token(String push_token) {
        this.push_token = push_token;
    }

    public String getPrivate_key() {
        return private_key;
    }

    public void setPrivate_key(String private_key) {
        this.private_key = private_key;
    }

    public Integer getWallet_type() {
        return wallet_type;
    }

    public void setWallet_type(Integer wallet_type) {
        this.wallet_type = wallet_type;
    }

    private String tradepassword="";
    //助记词
    private String mnemonic="";
    //地址
    private String address="";
    //密码提示消息
    private String tipmessage="";
    //是否是可用钱包 0 可以交易 1观察
    private Integer type=0;
    //推送ID
    private String push_clientid="";
    private String push_token="";
     //私钥
    private String private_key="";
    //钱包类型   0 ETH钱包
    private Integer wallet_type=0;

    @Generated(hash = 1154706473)
    public WalletUser(Long id, String name, String password, String tradepassword,
            String mnemonic, String address, String tipmessage, Integer type,
            String push_clientid, String push_token, String private_key,
            Integer wallet_type) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.tradepassword = tradepassword;
        this.mnemonic = mnemonic;
        this.address = address;
        this.tipmessage = tipmessage;
        this.type = type;
        this.push_clientid = push_clientid;
        this.push_token = push_token;
        this.private_key = private_key;
        this.wallet_type = wallet_type;
    }

    @Generated(hash = 669115297)
    public WalletUser() {
    }


}
